<!DOCTYPE htm PUBLIC "-//W3C//DTD Xhtm 1.0 Transitional//EN" "DTD/xhtm1-transitional.dtd">
<htm xmlns="http://www.w3.org/1999/xhtm" xml:lang="de" lang="de">
<head>
 <meta http-equiv="content-type" content="text/htm; charset=iso-8859-1" />
 <meta http-equiv="content-style-type" content="text/css" />
 <meta name="author" content="Arlsair" />
 <meta name="date" content="2004-01-22" />
 <title>TemporalCleaner</title>
 <link rel="stylesheet" type="text/css" href="../../style.css" />
</head><body>
<h1>TemporalCleaner</h1>

<h2>&Uuml;bersicht</h2>
<b>Author:</b> Jim Casaburi, portiert nach AviSynth von Vlad59)<br />
<b>Version:</b> Beta 2<br />
<b>Dowload:</b> <a href="http://www.avisynth.org/warpenterprises/" target="_blank">http://www.avisynth.org/warpenterprises/</a><br />
<b>Kategorie:</b> Zeitliche Weichzeichner<br />
<b>Anforderungen:</b>
<ul>
  <li>YUY2 Farbformat</li>
  <li>SSEMMX (=ISSE) f&auml;hige CPU</li>
</ul>
<hr>
<h2>Description</h2>
<p>TemporalCleaner is an avisynth port of the original port of the VirtualDub filter
made by Jim Casaburi (http://home.earthlink.net/~casaburi/download/#temporalcleaner).<br>
<br>
I just added some ASM to Jim's algo.<br>
<br>
1 - What it does&nbsp;<br>
<br>
if the difference between previous pixel and current pixel is below a blur threshold
then replace the current pixel by the average between previous and current pixel
else keep current pixel.<br>
<br>
An other trick is to add some feedback to this filter : instead of using the unfiltered
previous frame it uses the already filtered one.<br>
<br>
Simple isn't it ?<br>
<br>
2 - Parameters<br>
<br>
TemporalCleaner (ythresh=5, cthresh=10)<br>
<br>
ythresh (default value = 5) : blur luma threshold (don't go above 8 otherwise you'll have
some ghosting).<br>
<br>
cthresh (default value = 10) : blur chroma threshold (you can safely go a little above 8 as
if luma is above threshold -> chroma is automatically kept (no blur)).<br>
<br>
3 - Current limitations or known problems : .<br>
	- Work only with YUV2, CHECKED.<br>
	- require a Integer SSE capable CPU (no PII and K6-II), CHECKED.<br>
	- Require a mod-4 width (NOT CHECKED)<br>
<br>
4 - Credits<br>
	Thanks to<br>
	- Jim Casaburi for the original idea (I'm just his translator ;))<br>
	- Zarxrax and Ligh for the beta testing<br>
<br>
  Vlad59 (babas.lucas@laposte.net)<br>
<br>
Change log :<br>
<br>
2003/01/13 beta2  :<br>
	- Some minor speedup<br>
- Reorganize all the code to mix Avisynth 2.5 and 2.0X in the same .cpp and .h<br>
<br>
2002/11/09 beta1  :<br>
	- Initial release<br>
</p>
</body>
</html>
